<?php

require_once("../../controllers/init.php");
require_once($FILE_SYSTEM_ROOT."/controllers/authentication.php");

$eventID = 0;

if (isset($_POST['eventID']))
	$eventID = $_POST['eventID'];

$event = new MusicEvent($eventID);
?>

<!--
<div id="musiclist-edit-heading">Edit Music Event</div>
-->
<input type="hidden" id="musiclist-edit-value-id" value="<?php echo $eventID; ?>"></input>

<div id="musiclist-edit-title">Date</div>
<div class="musiclist-edit-value"><input type="text" class="musiclist-edit-value-text" id="musiclist-edit-value-date" disabled value="<?php echo $event->getDate();?>"></input></div>

<div id="musiclist-edit-title">Time</div>
<div class="musiclist-edit-value"><input type="text" class="musiclist-edit-value-text" id="musiclist-edit-value-time" disabled value="<?php echo $event->getTime();?>"></input></div>

<div id="musiclist-edit-title">Title</div>
<div class="musiclist-edit-value"><input type="text" class="musiclist-edit-value-text" id="musiclist-edit-value-title" disabled value="<?php echo $event->getTitle();?>"></input></div>

<div id="musiclist-edit-title">Choir</div>
<div class="musiclist-edit-value"><input type="text" class="musiclist-edit-value-text" id="musiclist-edit-value-choir" value="<?php echo $event->getChoir();?>"></input></div>

<div id="musiclist-edit-title">Note</div>
<div class="musiclist-edit-value"><input type="text" class="musiclist-edit-value-text" id="musiclist-edit-value-note" value="<?php echo $event->getNote();?>"></input></div>

<div id="musiclist-edit-title">Service</div>
<div class="musiclist-edit-value"><input type="text" class="musiclist-edit-value-text" id="musiclist-edit-value-service" value="<?php echo $event->getService();?>"></input></div>

<div id="musiclist-edit-title">Psalms</div>
<div class="musiclist-edit-value"><input type="text" class="musiclist-edit-value-text" id="musiclist-edit-value-psalms" value="<?php echo $event->getPsalms();?>"></input></div>

<div id="musiclist-edit-title">Hymns</div>
<div class="musiclist-edit-value"><input type="text" class="musiclist-edit-value-text" id="musiclist-edit-value-hymns" value="<?php echo $event->getHymns();?>"></input></div>

<div id="musiclist-edit-title">Introit</div>
<div class="musiclist-edit-value"><input type="text" class="musiclist-edit-value-text" id="musiclist-edit-value-introit" value="<?php echo $event->getIntroit();?>"></input></div>

<div id="musiclist-edit-title">Responses</div>
<div class="musiclist-edit-value"><input type="text" class="musiclist-edit-value-text" id="musiclist-edit-value-responses" value="<?php echo $event->getResponses();?>"></input></div>

<div id="musiclist-edit-title">Mass</div>
<div class="musiclist-edit-value"><input type="text" class="musiclist-edit-value-text" id="musiclist-edit-value-mass" value="<?php echo $event->getMass();?>"></input></div>

<div id="musiclist-edit-title">Canticles</div>
<div class="musiclist-edit-value"><input type="text" class="musiclist-edit-value-text" id="musiclist-edit-value-canticles" value="<?php echo $event->getCanticles();?>"></input></div>

<div id="musiclist-edit-title">Anthem</div>
<div class="musiclist-edit-value"><input type="text" class="musiclist-edit-value-text" id="musiclist-edit-value-anthem" value="<?php echo $event->getAnthem();?>"></input></div>

<!--
<?php require($FILE_SYSTEM_ROOT."/views/menus/musiclist-edit-menu.php"); ?>

-->
